package com.gitee.wsl.unit

import com.gitee.wsl.unit.length.KM
import com.gitee.wsl.unit.length.M
import com.gitee.wsl.unit.length.ext.times
import kotlin.test.Test
import kotlin.test.assertEquals


class LengthUnitTest {

    @Test
    fun floatTest(){
        val a=10.5.M
        val b=10.5.KM
        println("a:$a,b:$b")
        assertEquals(a*1000,b)
    }
}